/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ipercube.model;

import com.ipercube.model.Identifiable;
import java.io.Serializable;
import java.util.Iterator;

/**
 *
 * @author tartur
 */
public interface Navigator<E extends Identifiable> extends Iterator<E> {

    public boolean hasPrevious();

    public E previous();

    public boolean hasNext();

    public E next();

    public boolean setCursorAt(E element);

    public E first();

    public E last();

    public E getById(Serializable id);
}
